﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>在线调查 - {config.webname}</title>
<link type="text/css" rel="stylesheet" href="{config.webpath}css/pagination.css" />
<link type="text/css" rel="stylesheet" href="{config.webpath}scripts/artdialog/ui-dialog.css" />
<script type="text/javascript" src="{config.webpath}scripts/jquery/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="{config.webpath}scripts/artdialog/dialog-plus-min.js"></script>
<link href="<%templateskin="statistics"%>/css/yxtj.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8" src="<%templateskin="statistics"%>/js/common.js"></script>
<script type="text/javascript" charset="utf-8" src="<%templateskin="statistics"%>/js/login-validate.js"></script>
    <link href="<%templateskin%>/css/vote.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <!-- 公用头部开始-->
    <%template skin="statistics" src="header.html"%>
    <!-- 公用头部结束-->
    <div class="bodybj">
        <div class="content">
            <!--左边开始 -->
            <div class="left">
                <div class="chnl_tit">在线调查</div>
                <div class="chnl_tit2_bg"></div>
                <div id="left_height_js" class="chnl_list_blk">
                    <ul class="chnl_list">
                        <li class="onChnl" rel="Chnl"><a href="<%linkurl("vote_list")%>">在线调查</a></li>
                    </ul>
                    <div class="clear"></div>
                </div>
            </div>
            <!--左边结束 -->
           
            <div class="right">

                <div id="main" style=" height:900px;background:white;margin-top:0px;width:740px;float:left;">

                    <div>
                        <div style="height:17px;float:left;overflow:hidden;margin:10px;display:none;"><img src="<%templateskin=" statistics"%=statistics"% />/image/vote_bg.gif" /style="height:150px;width:16px;"></div>
                        <div style="height:40px;"><h1 style="font-size:16px;color:#1E50A0;margin-left:10px;padding-top:8px;">调查主题</h1></div>
                        <hr /style="width:650px;float:left;">
                        <ul class="news2" style="width:650px;float:left;">
                            <%set DataTable voteList=get_list(10, page, "1=1", out totalcount)%>
                            <%set string pagelist=get_page_link(10, page, totalcount, "vote_list", "__id__")%>
                            <%foreach(DataRow dr in voteList.Rows)%>
                            <li style="margin-top:15px;margin-left:20px;"><a id="n1" href="<%linkurl("vote_post",{dr[id]})%>">{dr[title]}</a> <a id="n2">{dr[add_time]}</a></li>
                            <%/foreach%>
                        </ul>
                        <div style="width:300px;height:auto;border:1px solid;float:right;margin-right:20px;display:none;">
                            <div style="width:279px;padding: 10px;color: #1e50a2;font-size: 16px;background:url(<%templateskin="statistics"%>/image/title.png) no-repeat"><strong>热门投票</strong></div>
                            <ul>
                                <%set DataTable votermList=get_list(10, page, "1=1", out totalcount)%>

                                <%foreach(DataRow rmdr in votermList.Rows)%>
                                <li style="margin-left:10px;"><a href="<%linkurl(" vote_post",{rmdr[id]})%=vote_post",{rmdr[id]})%>">{rmdr[title]}</a></li>
                                <%/foreach%>
                            </ul>
                        </div>
                    </div>

                    <!--放置页码-->
                    <div class="flickr">{pagelist}</div>
                    <!--/放置页码-->
                    <div style="clear:both;"></div>
                </div>

                
            </div>            
            <!--右边结束 -->









        </div>

    </div>

    <div class="clear cl"></div>
    <!--Footer-->
    <%template skin="statistics" src="footer.html"%>
    <!--/Footer-->

</body>
</html>
